package com.foreknow.demo11;

import java.awt.*;

public class GUI extends Frame {
    public GUI(String title){
        Button button = new Button("button");
        this.add(button);
        this.setTitle(title);
        this.setSize(400,400);
        this.setVisible(true);
    }
    public void test(){

    }
    public static void main(String[] args) {
        GUI gui = new GUI("hello");
    }
}
